/* GUI CONVERTED from rcshmtd.p (converter v1.76) Fri Dec 14 05:08:29 2001 */
/* rcshmtd.p - Customer Schedules - Shipper Maintenance Subprogram            */
/* Copyright 1986-2002 QAD Inc., Carpinteria, CA, USA.                        */
/* All rights reserved worldwide.  This is an unpublished work.               */
/* $Revision: 1.5 $                                                           */
/*V8:ConvertMode=Maintenance                                                  */
/* REVISION: 7.3    LAST MODIFIED: 10/12/92       BY: WUG *G462*              */
/* REVISION: 8.6    LAST MODIFIED: 05/20/98       BY: *K1Q4* Alfred Tan       */
/* REVISION: 9.1    LAST MODIFIED: 08/12/00       BY: *N0KP* Mark Brown       */
/* Old ECO marker removed, but no ECO header exists *F0PN*                    */
/* $Revision: 1.5 $    BY: Jean Miller           DATE: 12/11/01  ECO: *P03N*  */
/******************************************************************************/
/* All patch markers and commented out code have been removed from the source */
/* code below. For all future modifications to this file, any code which is   */
/* no longer required should be deleted and no in-line patch markers should   */
/* be added.  The ECO marker should only be included in the Revision History. */
/******************************************************************************/

/* Propagate changes in weights and volume upward thru parents */

{mfdeclre.i}

define input parameter par_shipfrom like abs_shipfrom.
define input parameter par_id       like abs_par_id.
define input parameter diff_nwt as decimal.
define input parameter diff_gwt as decimal.
define input parameter diff_vol as decimal.


find abs_mstr where abs_shipfrom = par_shipfrom
                and abs_id = par_id
exclusive-lock no-error.

if not available abs_mstr then leave.

assign
   abs_nwt = abs_nwt + diff_nwt
   abs_gwt = abs_gwt + diff_gwt
   abs_vol = abs_vol + diff_vol.

{gprun.i ""rcshmtd.p""
   "(input abs_shipfrom,
     input abs_par_id,
     input diff_nwt,
     input diff_gwt,
     input diff_vol)"}
/*GUI*/ if global-beam-me-up then undo, leave.

